package com.wangshuo.webadmin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wangshuo.webadmin.entity.ApartmentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangshuo.webadmin.vo.apartment.ApartmentDetailVo;
import com.wangshuo.webadmin.vo.apartment.ApartmentItemVo;
import com.wangshuo.webadmin.vo.apartment.ApartmentQueryVo;
import com.wangshuo.webadmin.vo.apartment.ApartmentSubmitVo;

/**
* @author 13326
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
* @createDate 2025-01-21 16:43:50
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    void saveOrUpdateapart(ApartmentSubmitVo apartmentSubmitVo);

    IPage<ApartmentItemVo> pageApartmernt(IPage<ApartmentItemVo> page, ApartmentQueryVo queryVo);

    ApartmentDetailVo getdetail(Long id);

    String deleteByid(Long id);
}
